package com.eastfair.projectcore.vo;

import com.eastfair.annotation.annotation.vo.VoInfo;
import com.eastfair.vo.VoGroupClass;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 实体类
 * 电子橱窗表
 * </p>
 *
 * @author ligang
 * @since 2021-08-09
 */
@Data
@ApiModel(value = "HotImage", description = "电子橱窗表")
public class HotImageVO implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {VoGroupClass.all.class})
    private Long id;
    /**
     * 图片url
     */
    @ApiModelProperty(value = "图片url")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {VoGroupClass.all.class})
    private String url;

    /**
     * 展商id
     */
    @ApiModelProperty(value = "展商id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {VoGroupClass.all.class})
    private Long exhibitorId;

    /**
     * 展会id
     */
    @ApiModelProperty(value = "展会id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {VoGroupClass.all.class})
    private Long exhibitionId;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {VoGroupClass.all.class})
    private Integer sequence;

    /**
     * 是否推荐（0不推荐，1推荐）
     */
    @ApiModelProperty(value = "是否推荐（0不推荐，1推荐）")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {VoGroupClass.all.class})
    private Boolean recommend;

    /**
     * 推荐时间
     */
    @ApiModelProperty(value = "推荐时间")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {VoGroupClass.all.class})
    private LocalDateTime recommendTime;

    @ApiModelProperty(value = "电子橱窗点位")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {VoGroupClass.all.class})
    private List<HotImagePointVO> hotImagePointVoList;
}
